			
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using DDF.Entity;
using System.Runtime.Serialization;
using ARR.Entities.Gateways;
		
namespace ARR.Entities
{
	[DataContract]
	[Serializable]	
	public partial class Planogram : EntityBase
	{
		[DataMember]
		private PlanogramRow row;
		
		public Planogram(PlanogramRow row)
		{
			this.row = row;
		}
		
		public Planogram()
		{
			this.row = new PlanogramRow();
		}
		
		[DataMember]
		public int Id
		{
			get { return row.Id; }
			set { row.Id = value; }
		}

		[DataMember]
		public int RangeReviewId
		{
			get { return row.RangeReviewId; }
			set { row.RangeReviewId = value; }
		}

		[DataMember]
		public int StoreId
		{
			get { return row.StoreId; }
			set { row.StoreId = value; }
		}

		[DataMember]
		public string Name
		{
			get { return row.Name; }
			set { row.Name = value; }
		}

		[DataMember]
		public int? Modules
		{
			get { return row.Modules; }
			set { row.Modules = value; }
		}

		[DataMember]
		public decimal? Width
		{
			get { return row.Width; }
			set { row.Width = value; }
		}

		[DataMember]
		public decimal? SquareMeters
		{
			get { return row.SquareMeters; }
			set { row.SquareMeters = value; }
		}

		[DataMember]
		public int? Levels
		{
			get { return row.Levels; }
			set { row.Levels = value; }
		}

		[DataMember]
		public int? PlanogramLocationId
		{
			get { return row.PlanogramLocationId; }
			set { row.PlanogramLocationId = value; }
		}

		[DataMember]
		public string Level1
		{
			get { return row.Level1; }
			set { row.Level1 = value; }
		}

		[DataMember]
		public string Level2
		{
			get { return row.Level2; }
			set { row.Level2 = value; }
		}

		[DataMember]
		public decimal? Level1Space
		{
			get { return row.Level1Space; }
			set { row.Level1Space = value; }
		}

		[DataMember]
		public int? TypeId
		{
			get { return row.TypeId; }
			set { row.TypeId = value; }
		}

		[DataMember]
		public int? ListingPlanogramId
		{
			get { return row.ListingPlanogramId; }
			set { row.ListingPlanogramId = value; }
		}

		
		public PlanogramRow GetRow()
        {
            return row;
        }
		
	} 
} 
